﻿using System;
using System.ServiceProcess;

namespace OrbitOne.Elmah.Agent
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
/*/
            
            var service = new AgentService();
            service.Start();
            while (true) 
            {
                System.Threading.Thread.Sleep(10); 
            }
/*/
            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[] 
			{ 
				new AgentService() 
			};
            ServiceBase.Run(ServicesToRun);
/**/
        }
    }
}
